package com.hllxd.hism.star.basic.service.dao.mapper.doris;

import com.hllxd.hism.star.basic.service.model.doris.FieldMonitorEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * doris访问
 *
 * @author lixiyong01
 * @date 2023/12/16 15:09
 */

@Mapper
public interface FieldMonitorMapper {

    List<FieldMonitorEntity> loadMetaData(
            @Param("dt") String dt,
            @Param("dt2") String dt2,
            @Param("biz") String biz,
            @Param("actionType") String actionType,
            @Param("logsource") String logsource,
            @Param("metric") String metric);


    List<FieldMonitorEntity> loadMetricTrend(
            @Param("dt") String dt,
            @Param("dt2") String dt2,
            @Param("biz") String biz,
            @Param("actionType") String actionType,
            @Param("logsource") String logsource,
            @Param("metric") String metric);

    List<FieldMonitorEntity> loadIncMetricTrend(
            @Param("dt") String dt,
            @Param("dt2") String dt2,
            @Param("biz") String biz,
            @Param("actionType") String actionType,
            @Param("logsource") String logsource,
            @Param("metric") String metric);

    List<FieldMonitorEntity> loadRatioMetricTrend(
            @Param("dt") String dt,
            @Param("dt2") String dt2,
            @Param("biz") String biz,
            @Param("actionType") String actionType,
            @Param("logsource") String logsource,
            @Param("metric") String metric);
}
